package cn.qzuie.smart.module.dorm.controller.admin.energyequipment.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.qzuie.smart.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.qzuie.smart.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 能源设备分页 Request VO")
@Data
public class EnergyEquipmentPageReqVO extends PageParam {

    @Schema(description = "表号")
    private String mac;

    @Schema(description = "宿舍编号", example = "22810")
    private Long dormitoryId;

    @Schema(description = "类型：空调0，照明1，水2", example = "1")
    private Integer type;

    @Schema(description = "价格", example = "4097")
    private Double price;

    @Schema(description = "网关", example = "963")
    private Long gatewayId;

    @Schema(description = "是否远程控制（开启1，关闭0）")
    private Integer isRemote;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}